package com.btex.app.entity;

/**
 * @author zy zhangyi <zhangyi, 1104745049@QQ.com
 * @version v1.0
 * @project study1
 * @Description
 * @encoding UTF-8
 * @date 2018/10/18
 * @time 下午8:00
 * @修改记录 <pre>
 * 版本       修改人         修改时间         修改内容描述
 * --------------------------------------------------
 * <p>
 * --------------------------------------------------
 * </pre>
 */

public class FuturesInfo {


    /**
     * code : 1
     * data : {"contract_id":"1","symbol":"BTC","settle_anchor":"BTC","quote_anchor":"USD","contract_anchor":"USD","contract_value":"1.00000000","type":"1","expiry":"","max_leverage":"100","m_margin":"0.00500000","auto_deleverage":"1","risk_limit":"100.00000000","risk_step":"10.00000000","holding_margin":"0.00000000","holding_amount":"0.00000000","maker_feilv":"0.00000000","taker_feilv":"0.00100000","settle_feilv":"0.00000000","price_float_num":"4","status":"1","trade_status":"1","pair":"BTC_USD","ticker":{"trade_price":0,"change_24h":0,"index_price":0,"mark_price":0}}
     * info :
     */

    private int code;
    private DataBean data;
    private String info;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public static class DataBean {
        /**
         * contract_id : 1
         * symbol : BTC
         * settle_anchor : BTC
         * quote_anchor : USD
         * contract_anchor : USD
         * contract_value : 1.00000000
         * type : 1
         * expiry :
         * max_leverage : 100
         * m_margin : 0.00500000
         * auto_deleverage : 1
         * risk_limit : 100.00000000
         * risk_step : 10.00000000
         * holding_margin : 0.00000000
         * holding_amount : 0.00000000
         * maker_feilv : 0.00000000
         * taker_feilv : 0.00100000
         * settle_feilv : 0.00000000
         * price_float_num : 4
         * status : 1
         * trade_status : 1
         * pair : BTC_USD
         * ticker : {"trade_price":0,"change_24h":0,"index_price":0,"mark_price":0}
         */

        private String contract_id;
        private String symbol;
        private String settle_anchor;
        private String quote_anchor;
        private String contract_anchor;
        private String contract_value;
        private String type;
        private String expiry;
        private String max_leverage;
        private String m_margin;
        private String auto_deleverage;
        private String risk_limit;
        private String risk_step;
        private String holding_margin;
        private String holding_amount;
        private String maker_feilv;
        private String taker_feilv;
        private String settle_feilv;
        private String price_float_num;
        private String status;
        private String trade_status;
        private String pair;

        public String getAllow_cross() {
            return allow_cross;
        }

        public void setAllow_cross(String allow_cross) {
            this.allow_cross = allow_cross;
        }

        private String allow_cross;

        public String getSa_float_num() {
            return sa_float_num;
        }

        public void setSa_float_num(String sa_float_num) {
            this.sa_float_num = sa_float_num;
        }

        private String sa_float_num;

        public String getLeverage_steps() {
            return leverage_steps;
        }

        public void setLeverage_steps(String leverage_steps) {
            this.leverage_steps = leverage_steps;
        }

        private String leverage_steps;

        public String getIsreverse() {
            return isreverse;
        }

        public void setIsreverse(String isreverse) {
            this.isreverse = isreverse;
        }

        private String isreverse;
        private TickerBean ticker;

        public String getContract_id() {
            return contract_id;
        }

        public void setContract_id(String contract_id) {
            this.contract_id = contract_id;
        }

        public String getSymbol() {
            return symbol;
        }

        public void setSymbol(String symbol) {
            this.symbol = symbol;
        }

        public String getSettle_anchor() {
            return settle_anchor;
        }

        public void setSettle_anchor(String settle_anchor) {
            this.settle_anchor = settle_anchor;
        }

        public String getQuote_anchor() {
            return quote_anchor;
        }

        public void setQuote_anchor(String quote_anchor) {
            this.quote_anchor = quote_anchor;
        }

        public String getContract_anchor() {
            return contract_anchor;
        }

        public void setContract_anchor(String contract_anchor) {
            this.contract_anchor = contract_anchor;
        }

        public String getContract_value() {
            return contract_value;
        }

        public void setContract_value(String contract_value) {
            this.contract_value = contract_value;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getExpiry() {
            return expiry;
        }

        public void setExpiry(String expiry) {
            this.expiry = expiry;
        }

        public String getMax_leverage() {
            return max_leverage;
        }

        public void setMax_leverage(String max_leverage) {
            this.max_leverage = max_leverage;
        }

        public String getM_margin() {
            return m_margin;
        }

        public void setM_margin(String m_margin) {
            this.m_margin = m_margin;
        }

        public String getAuto_deleverage() {
            return auto_deleverage;
        }

        public void setAuto_deleverage(String auto_deleverage) {
            this.auto_deleverage = auto_deleverage;
        }

        public String getRisk_limit() {
            return risk_limit;
        }

        public void setRisk_limit(String risk_limit) {
            this.risk_limit = risk_limit;
        }

        public String getRisk_step() {
            return risk_step;
        }

        public void setRisk_step(String risk_step) {
            this.risk_step = risk_step;
        }

        public String getHolding_margin() {
            return holding_margin;
        }

        public void setHolding_margin(String holding_margin) {
            this.holding_margin = holding_margin;
        }

        public String getHolding_amount() {
            return holding_amount;
        }

        public void setHolding_amount(String holding_amount) {
            this.holding_amount = holding_amount;
        }

        public String getMaker_feilv() {
            return maker_feilv;
        }

        public void setMaker_feilv(String maker_feilv) {
            this.maker_feilv = maker_feilv;
        }

        public String getTaker_feilv() {
            return taker_feilv;
        }

        public void setTaker_feilv(String taker_feilv) {
            this.taker_feilv = taker_feilv;
        }

        public String getSettle_feilv() {
            return settle_feilv;
        }

        public void setSettle_feilv(String settle_feilv) {
            this.settle_feilv = settle_feilv;
        }

        public String getPrice_float_num() {
            return price_float_num;
        }

        public void setPrice_float_num(String price_float_num) {
            this.price_float_num = price_float_num;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getTrade_status() {
            return trade_status;
        }

        public void setTrade_status(String trade_status) {
            this.trade_status = trade_status;
        }

        public String getPair() {
            return pair;
        }

        public void setPair(String pair) {
            this.pair = pair;
        }

        public TickerBean getTicker() {
            return ticker;
        }

        public void setTicker(TickerBean ticker) {
            this.ticker = ticker;
        }

        public static class TickerBean {
            /**
             * trade_price : 0
             * change_24h : 0
             * index_price : 0
             * mark_price : 0
             */

            private double trade_price;
            private double change_24h;
            private double index_price;
            private double mark_price;
            private String amount;
            private String total;
            private String price_24h;
            private String max_24h_price;
            private String min_24h_price;
            private String open_interest;

            public String getOpen_interest() {
                return open_interest;
            }

            public void setOpen_interest(String open_interest) {
                this.open_interest = open_interest;
            }

            public String getOpen_interest_ev() {
                return open_interest_ev;
            }

            public void setOpen_interest_ev(String open_interest_ev) {
                this.open_interest_ev = open_interest_ev;
            }

            private String open_interest_ev;


            public String getAmount() {
                return amount;
            }

            public void setAmount(String amount) {
                this.amount = amount;
            }

            public String getTotal() {
                return total;
            }

            public void setTotal(String total) {
                this.total = total;
            }

            public String getPrice_24h() {
                return price_24h;
            }

            public void setPrice_24h(String price_24h) {
                this.price_24h = price_24h;
            }

            public String getMax_24h_price() {
                return max_24h_price;
            }

            public void setMax_24h_price(String max_24h_price) {
                this.max_24h_price = max_24h_price;
            }

            public String getMin_24h_price() {
                return min_24h_price;
            }

            public void setMin_24h_price(String min_24h_price) {
                this.min_24h_price = min_24h_price;
            }


            public double getTrade_price() {
                return trade_price;
            }

            public void setTrade_price(double trade_price) {
                this.trade_price = trade_price;
            }

            public double getChange_24h() {
                return change_24h;
            }

            public void setChange_24h(double change_24h) {
                this.change_24h = change_24h;
            }

            public double getIndex_price() {
                return index_price;
            }

            public void setIndex_price(double index_price) {
                this.index_price = index_price;
            }

            public double getMark_price() {
                return mark_price;
            }

            public void setMark_price(double mark_price) {
                this.mark_price = mark_price;
            }
        }
    }
}
